﻿using Logistics.Model;
using Logistics_Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Service
{
    public class AndroidTokenService
    {
        private AndroidTokenDao dao = new AndroidTokenDao();

        public List<wuliu_account_android_token> GetAndroidToken(int wuliu_id)
        {
            return dao.GetAndroidToken(wuliu_id);
        }

        public List<wuliu_account_android_token> GetCompanyidAndroidToken(int company_id)
        {
            return dao.GetCompanyidAndroidToken(company_id);
        }

        public List<wuliu_account_ios_token> GetCompanyidIOSToken(int company_id)
        {
            return dao.GetCompanyidIOSToken(company_id);
        }

        public List<wuliu_account_ios_token> GetIOSToken(int wuliuid)
        {
            return dao.GetIOSToken(wuliuid);
        }
    }

}
